<div class="col-sm-12 mt20">
  
  <div class="panel">
    <div class="panel-body">

      <div class="col-sm-12" style="font-size:15px; margin-bottom: 8px">
        <label class="col-sm-3 control-label">机构名称 : 
          <strong class="ng-binding">{{officeInfo.company_name}}</strong>
        </label>
        <label class="col-sm-3 control-label">机构编号 : 
          <strong class="ng-binding">{{officeInfo.company_code}}</strong>
        </label>
        <label class="col-sm-3 control-label">默认加价 : 
          <strong class="ng-binding">{{officeInfo.agreement_money}}</strong>
          <a style="color:#2fa4e7; font-size: 13px; margin-left: 30px;text-decoration:underline" 
          ng-click="setMoney(officeInfo)">设置总加价</a>
        </label>
      </div>
      <div class="col-sm-12">
        <label class="col-sm-2 control-label pull-right">
          <button type="button" class="btn btn-info form-control" ng-click="recrod()">查看设置记录</button>
        </label>
        <label class="col-sm-2 control-label pull-right">
          <button type="button" class="btn btn-info form-control" ng-click="setMoney()">设置加价金额</button>
        </label>
      </div>
      
    </div>
  </div>

  <div class="panel">
    <div class="panel-body">
      <table class="table table-striped table-bordered dataTable table-condensed tree_table">
        <thead>
          <tr>
            <th class="col-md-1 text-center">旅行社名称</th>
            <th class="col-md-1 text-center">旅行社编号</th>
            <th class="col-md-1 text-center">时间</th>
            <th class="col-md-1 text-center">金额(元)</th>
            <th style="width: 5%"></th>
          </tr>
        </thead>
        <tbody>
          <tr ng-repeat="info in list">
            <td class="text-center">{{info.target_company_name}}</td>
            <td class="text-center">{{info.target_company_code}}</td>
            <td class="text-center">{{info.create_time}}</td>
            <td class="text-center">{{info.agreement_money}}</td>
            <td class="text-center">
              <button type="button" class="btn btn-info btn-xs" ng-click="setMoney(info)">修改</button>
              <button type="button" class="btn btn-danger btn-xs" ng-click="delete(info)">删除</button>
            </td>
          </tr>
        </tbody>
      </table>
    </div>

    <div class="text-right" style="background-color: white; margin-right: 30px">
      <pagination total-items="totalItems" ng-model="currentPage" ng-change="loadList()" previous-text="上一页"
        next-text="下一页" first-text="首页" last-text="尾页" max-size="5" boundary-links="true" rotate="false"
        items-per-page="itemsPerPage" class="m-t-none m-b"></pagination>
    </div>

  </div>
</div>